package Models;

import java.util.Date;

public class Keg {
    private int KegID;// ScanTblKeg.KegID (Primary Key)
    private String KegType;// ScanTblKeg.KegType
    private POSBeerView KegBeer;// ScanTblKeg.KegBeer
    private Customer KegCust;// ScanTblKeg.KegCust
    private int KegBatch;// ScanTblKeg.KegBatch
    private FGI kegFGI;
    private Date DateSold;// ScanTblKeg.DateSold;
    private PackageType packageID;
    private boolean kegLost;
    private boolean kegOOC;
    private Date scanTime;
    
	public int getKegID() {
		return KegID;
	}
	public void setKegID(int kegID) {
		KegID = kegID;
	}
	public String getKegType() {
		return KegType;
	}
	public void setKegType(String kegType) {
		KegType = kegType;
	}
	public POSBeerView getKegBeer() {
		return KegBeer;
	}
	public void setKegBeer(POSBeerView kegBeer) {
		KegBeer = kegBeer;
	}
	public Customer getKegCust() {
		return KegCust;
	}
	public void setKegCust(Customer kegCust) {
		KegCust = kegCust;
	}
	public int getKegBatch() {
		return KegBatch;
	}
	public void setKegBatch(int kegBatch) {
		KegBatch = kegBatch;
	}
	public FGI getKegFGI() {
		return kegFGI;
	}
	public void setKegFGI(FGI kegFGI) {
		this.kegFGI = kegFGI;
	}
	public Date getDateSold() {
		return DateSold;
	}
	public void setDateSold(Date dateSold) {
		DateSold = dateSold;
	}
	public PackageType getPackageID() {
		return packageID;
	}
	public void setPackageID(PackageType packageID) {
		this.packageID = packageID;
	}
	public boolean isKegLost() {
		return kegLost;
	}
	public void setKegLost(boolean kegLost) {
		this.kegLost = kegLost;
	}
	public boolean isKegOOC() {
		return kegOOC;
	}
	public void setKegOOC(boolean kegOOC) {
		this.kegOOC = kegOOC;
	}
	public Date getScanTime() {
		return scanTime;
	}
	public void setScanTime(Date scanTime) {
		this.scanTime = scanTime;
	}
	
	public String getDisplayString(){
		return Integer.toString(this.KegID) + " - " + this.KegType;
	}
}
